﻿using System;

namespace WHC.Security.Entity
{
	[Serializable]
	public class UserInfo : SimpleUserInfo
	{
		public const int IdentityLen = 50;
		private string m_Address = "";
		private string m_CustomField = "";
		private string m_Email = "";
		private string m_HomePhone = "";
		private string m_IdentityCard = "";
		private bool m_IsExpire = false;
		private string m_MobilePhone = "";
		private string m_OfficePhone = "";
		private int m_PID = -1;
		private string m_Title = "";

		public virtual string Address
		{
			get { return this.m_Address; }
			set { this.m_Address = value; }
		}

		public virtual string CustomField
		{
			get { return this.m_CustomField; }
			set { this.m_CustomField = value; }
		}

		public virtual string Email
		{
			get { return this.m_Email; }
			set { this.m_Email = value; }
		}

		public virtual string HomePhone
		{
			get { return this.m_HomePhone; }
			set { this.m_HomePhone = value; }
		}

		public virtual string IdentityCard
		{
			get { return this.m_IdentityCard; }
			set { this.m_IdentityCard = value; }
		}

		public virtual bool IsExpire
		{
			get { return this.m_IsExpire; }
			set { this.m_IsExpire = value; }
		}

		public virtual string MobilePhone
		{
			get { return this.m_MobilePhone; }
			set { this.m_MobilePhone = value; }
		}

		public virtual string OfficePhone
		{
			get { return this.m_OfficePhone; }
			set { this.m_OfficePhone = value; }
		}

		public virtual int PID
		{
			get { return this.m_PID; }
			set { this.m_PID = value; }
		}

		public virtual string Title
		{
			get { return this.m_Title; }
			set { this.m_Title = value; }
		}
	}
}